#!/bin/bash

# libfoonathan_memory-0.7.1.a
colcon build --packages-select foonathan_memory_vendor \
    --cmake-args -DCMAKE_BUILD_TYPE=Debug \

# // libfastcdr.so.1.0.24
colcon build --packages-select fastcdr \
    --cmake-args -DCMAKE_BUILD_TYPE=Debug \
    -DFASTDDS_STATISTICS=ON \
    -DLOG_INFO=ON

# // libfastrtps.so.2.6.10
colcon build --packages-select fastrtps \
    --cmake-args  -DCMAKE_BUILD_TYPE=Debug \
    -DLOG_NO_INFO=OFF -DLOG_NO_WARNING=OFF \
    -DLOG_NO_ERROR=OFF

colcon build --packages-select rmw_fastrtps_cpp --cmake-args -DBUILD_TESTING=OFF
colcon build --packages-select rmw_fastrtps_dynamic_cpp --cmake-args -DBUILD_TESTING=OFF
colcon build --packages-select rmw_fastrtps_shared_cpp --cmake-args -DBUILD_TESTING=OFF

